package com.zl.providerribbon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.zl.common.mapper") //扫描mybatis哪些包里面的接口
@ServletComponentScan // 让spring能够扫描到我们自己编写的servlet和filter。
public class ProviderRibbonApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProviderRibbonApplication.class, args);
    }

}
